package com.sunxu.exercise3;

/**
 * ${DESCRIPTION}
 *
 * @author Sun
 * @create 2017-08-01-18:39
 */
public class Demo2 {
    public static void main(String[] args) {
        Runnable runnable = Demo2::run;
        new Thread(runnable).start();
    }

    public static void run() {
        System.out.println("方法引用的代码");
    }
}
